<?php
include("inc/global.inc");
include("../inc/page.php");
$url="list.php";
$thepage=$_GET['page']?$_GET['page']:1;
$maxpage=10;
$zl_rs=mysql_query("select id,z_id,z_name from zd_class where id=".$_GET['id']);
$zl_row=mysql_fetch_array($zl_rs);
?>
<?php 
 $l_rs=mysql_query("select * from zd_class where id=".$zl_row['z_id']);
 $l_row=mysql_fetch_array($l_rs);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$zl_row[z_name]?>资料-<?=$zl_row[z_name]?>资料列表-<?=$zl_row[z_name]?>资料下载-三帝资料汇集海量资讯、商务资料、商务资料信息。</title>
<meta name="description" content="<?=$zl_row[z_name]?>资料，<?=$zl_row[z_name]?>资料列表，<?=$zl_row[z_name]?>资料下载，三帝资料国内领先的网上商务资料库中心提供最新的商务资料、企业资料库、经典资讯。——为您打造专业的在线学智社区" />
<meta name="keywords" content="<?=$zl_row[z_name]?>资料，<?=$zl_row[z_name]?>资料列表，<?=$zl_row[z_name]?>资料下载，三帝资料，三帝资料库，商务资料，商务百科，企业资料" />
<link href="/css/body.css" rel="stylesheet" type="text/css" />
<link href="/css/head.css" rel="stylesheet" type="text/css" />
<link href="/css/foot.css" rel="stylesheet" type="text/css" />
<link href="/css/list.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="/js/dh.js" charset="gb2312"></script>
</head>
<body>
<?php
include("inc/head_top.php");
?>
<div id="mian" class="topside6">
<div class="title1">当前位置: <a href="/">三帝资料</a> >> <a href="/ziliao-type/<?=$l_row[id]?>.html"><?=$l_row[z_name]?></a> >> <?=$zl_row[z_name]?></div>
<div class="onl"></div>
</div>

<div class="w960 topside20 side">
<script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
<div class="onl"></div>
</div>

<div id="mian" class="topside6">
<div class="rightbox downside6">
<div class="rightmain downside6 side">
<script type="text/javascript"><!--
google_ad_client = "pub-2924453545159453";
/* 250x250, 创建于 11-3-25 */
google_ad_slot = "4434545266";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
  <div class="rightmain  downside6">
    <div class="title size14 b">推荐资料下载</div>
    <div class="RtInfo4">
      <div class="div_3">
        <ul>
          <?php
		    $r_rs=mysql_query("select id,z_title from ziliao where z_sh=1  order by id desc limit 10");
			while($r_row=mysql_fetch_array($r_rs)){
		  ?>
          <li><a href="/ziliao-info/<?=$r_row[id]?>.html" class="link_1"><?=mb_substr($r_row[z_title],0,17,'utf-8')?></a></li>
          <?php }?>
        </ul>
      </div>
    </div>
    <div class="onl"></div>
  </div>
  
<div class="rightmain side">
<script type="text/javascript"><!--
google_ad_client = "pub-2924453545159453";
/* 250x250, 创建于 11-3-25 */
google_ad_slot = "4434545266";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
 
  </div>
<div class="leftmain content sideyellow1">
  <div class="biaoti">
<div class="title3 size14"><?=$zl_row[z_name]?>资料列表</div>
  <ul class="newslist">
     <?php
	 $rs=mysql_query("select * from ziliao where z_sh=1 and z_smid='".$_GET['id']."'  order by id desc limit ".($thepage-1)*$maxpage.",$maxpage");
	 while($row=mysql_fetch_array($rs)){
	 ?>
     <li><span><?=$row[z_hit]?></span><a href="/ziliao-info/<?=$row['id']?>.html" target="_blank"><?=$row[z_title]?></a></li>
<?php }
$rs2=mysql_query("select count(id) from ziliao where z_sh=1 and z_smid='".$_GET['id']."'");
$totalrecord=mysql_result($rs2,0); 
$totalpage=ceil($totalrecord/$maxpage);
mysql_free_result($rs2);
?>
  </ul>
<div class="page">
<div class="pageleft">
<ul>
<?php pages($thepage,$totalpage,$maxpage,7);?>
</ul>
</div>
<div class="pageright">
<form name="pageform" method="post" action="" onSubmit="return onCheckPage()"> 
共<?=$totalpage?>页　到
<input type="text" name="page" class="input-txt" size="5" maxlength="5">页
<input type="submit" value="确定" class="but">
</form>
<script language="javascript"> 
function onCheckPage(){
var page = parseInt(document.pageform.page.value); 
if(isNaN(page)){
alert("请输入数字(1,<?=$totalpage?>)");
return false; 
}
if(page<=0){
page =1; 
}
if(page ><?=$totalpage?>){
page=<?=$totalpage?>;
}
if(page>1){
document.pageform.action = "/ziliao-list/<?=$_GET[id]?>/"+page+".html"; 
}else{
document.pageform.action = "/ziliao-list/<?=$_GET[id]?>/1.html"; 
}
return true;
}
</script>
  </div>
<div class="onl"></div>
</div>
  </div>
  </div>
<div class="onl"></div>
</div>

<div class="w960 topside20 downside20 side">
<script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
<div class="onl"></div>
</div>


<?php
include("inc/foot.php");
?>
</BODY>
</HTML>




<script type="text/javascript">/*120*270，创建于2011-3-23*/ var cpro_id = 'u419785';</script><script src="http://cpro.baidu.com/cpro/ui/f.js" type="text/javascript"></script>
